package com.wjw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
*@author WuJianWei
*@date 2022/2/28 20:00
*/
@Data
@TableName(value = "category")
public class Category implements Serializable {
    @TableId(value = "category_id", type = IdType.ASSIGN_ID)
    private Integer categoryId;

    @TableField(value = "category_name")
    private String categoryName;

    private static final long serialVersionUID = 1L;

    public static final String COL_CATEGORY_ID = "category_id";

    public static final String COL_CATEGORY_NAME = "category_name";
}